#pragma once
#include "MainWnd.h"
class CRenderSystem;

class CAppClient : public Singleton < CAppClient >
{
public:
	CAppClient();
	~CAppClient();
	bool Run(HINSTANCE hInstance);
	void Quit();
	UINT32 OnInputMessage(UINT32 uMsg, UINT32 wParam, UINT32 lParam);
	void Init(HINSTANCE hInstance);
	void Init(HWND hWnd);

private:
	bool MainFrame();
	void OnSysMsg();
	void Frame(CRenderSystem* pRenderSystemp, UINT32 nowtimer);

private:
	CMainWnd* m_pMainWnd;
	bool m_bQuit;
};
